package c.x.jy.api.netty;

import java.util.List;

import com.alibaba.fastjson.JSON;
 
public class CommonResponse {
   private Integer code;
   private Integer  type;
   
   private  String message ;
	public CommonResponse(Integer code, Integer  type, String message) {
	 this.code=code;
	 this.type=type;
	 this.message=message;
	 
	}
	public CommonResponse(Integer code, Integer  type, List<String> ids) {
		 this.code=code;
		 this.type=type;
		 this.message=JSON.toJSONString(ids);
		 
	}
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}

	
	
	
}
